<template>
  <div id="app">
    <el-container>
      <el-header>
        <header-menu />
      </el-header>
      <el-main>
        <keep-alive>
          <router-view></router-view>
        </keep-alive>
      </el-main>
    </el-container>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'
import HeaderMenu from './components/HeaderMenu.vue'
@Component({
  components: {
    HeaderMenu,
  },
})
export default class App extends Vue {}
</script>

<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  height: 100vh;
  overflow-y: auto;
  background: #f4f4f4;
  font-size: 1.142857rem;
}
.text-hide {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.el-header {
  background-color: #fff;
}
/deep/.el-menu.el-menu--horizontal {
  border: none;
}

.nav-wrapper {
  background: #ffffff;
  border-bottom: solid 1px #e6e6e6;
  .el-menu.el-menu--horizontal {
    border: 0;
  }
}
.el-container {
  height: 100%;
}
</style>

<style lang="scss">
@import url('~assets/style/common.scss');
</style>

<style>
@import url('~assets/style/reset.css');
</style>
